| Name | Description | |
|---|---|---|
![]() | beginArtifactMarkedContent | Begins an artifact marked content sequence. Each beginArtifactMarkedContent call must be paired with a call. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | beginMarkedContent | Begins marked content sequence. Each beginMarkedContent call must be paired with a call. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | beginOptionalContentGroup | Begins an optional content group in the page graphics. |
![]() | beginStructureElement | Begins a marked content sequence associated with a object. Each beginStructureElement call must be paired with a call. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | clear | Clears all graphic content from the page. |
![]() | clearGraphics | This method supports the internal library infrastructure and should not be used by external client code. |
![]() | compress | Compresses the page graphic content. Call this method to compress the graphic content and reduce memory usage. This method compresses the current graphic content but it leaves the graphics open so new content can be still added. If you are creating pages with heavy vector graphics, such as maps, you can call this method multiple times, after fragments of the page have been drawn in order to reduce the in-memory size of the graphic content. What the page content has been fully created call the method to compress the last fragment and close the page content. |
![]() | compressAndClose | Compresses the graphic content and closes the graphics surface. Call this method to compress the graphic content and reduce memory usage. If this method is not called, the graphic content is stored uncompressed in the PDF file. After calling this method no more drawing is allowed on the graphics. |
![]() | drawArc | Draws an arc representing a portion of an ellipse specified by a pair of coordinates, a width, and a height. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawBarcode | Draws a barcode at the specified position. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawBezier | Draws a Bézier spline specified by four Objects. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawChord | Draws a chord representing a region bounded by the intersection of an ellipse and a line segment, called a secant, specified by a pair of coordinates, a width and a height. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawCloud | Draws a cloud shape specified by an array of points. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawDonut | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawEllipse | Draws an ellipse defined by a bounding rectangle specified by coordinates for the upper-left corner of the rectangle, a height, and a width. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawFormattedContent | Draws the formatted content on the graphics surface at the specified position. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawFormXObject | Draws the specified at the specified location and with the specified size. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawImage | Draws the specified at the specified location and with the specified size. If width is zero or negative then width is automatically computed in order to keep the original aspect ratio. If height is zero or negative then height is automatically computed in order to keep the original aspect ratio. If both width and height are negative then the image is scaled automatically to fit the given area and the original aspect ratio is kept. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawLine | Draws a line connecting the two points specified by the coordinate pairs. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawPath | Draws a . (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawPie | Draws a pie shape defined by an ellipse specified by a coordinate pair, a width, a height, and two radial lines. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawRectangle | Draws a rectangle specified by a coordinate pair, a width, and a height. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawRoundRectangle | Draws a rounded rectangle specified by a coordinate pair, a width, and a height. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawShading | Draws a PDF shading. The position of the shading is defined on the object. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawStencilMask | Draws the specified at the specified location and with the specified size. A stencil mask is a B/W image where the 1 pixels are left transparent and 0 pixels are filled with the brush. If width is zero or negative then width is automatically computed in order to keep the original aspect ratio. If height is zero or negative then height is automatically computed in order to keep the original aspect ratio. If both width and height are negative then the stencil mask is scaled automatically to fit the given area and the original aspect ratio is kept. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | drawString | Draws the specified text string at the specified location with the specified and @see com.o2sol.pdf4java.graphics.PDFFont Objects. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | endMarkedContent | Ends a marked content sequence. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | endOptionalContentGroup | Ends the active optional content group in the page graphics. |
![]() | endStructureElement | Ends a marked content sequence associated with a com.o2sol.pdf4java.logicalstructure.PDFStructureElement object. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | getActiveGraphicsState | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | getCanvasCosStream | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | getContainer | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | getWorkBuffer | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | getWorkBuffer2 | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | multiplyTransform | Multiplies the current transformation of this graphics and specified the matrix. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | restoreGraphicsState | Restores the current graphics state of this canvas. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | rotateTransform | Applies the specified rotation to the transformation matrix of this canvas. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | saveGraphicsState | Saves the current graphics state of this canvas (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | scaleTransform | Applies the specified scaling operation to the transformation matrix of this graphics by prepending it to the current transformation matrix. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | setCanvasCosStream | This method supports the internal library infrastructure and should not be used by external client code. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | setClip | Sets the clipping region of this graphics to the specified path. The actual clipping path is the intersection of the previous clipping path with this new clipping path. It is recommended to save the graphics state (see method) before setting a clipping path and restore the graphics state (see method) after the clipping path is no longer needed. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | setExtendedGraphicState | Sets a new graphics state in this graphics Object. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
![]() | setupContentTransform | This method supports the internal library infrastructure and should not be used by external client code. |
![]() | translateTransform | Changes the origin of the coordinate system by prepending the specified translation to the transformation matrix of this canvas. (Inherited from com.o2sol.pdf4java.graphics.PDFCanvas) |
